// 我的专题
.pg-subjects{
  .subject-list{
    background: url(../images/subject_sep.png) 55px 0 repeat-y;
  }
  .subject-item{
    margin-bottom: 20px;
    &.last{
      margin-bottom: 60px;
    }
    &:hover{
      .oper-list{
        display: inline-block;
      }
    }
    .name{
      padding-left: 20px;
      margin-left: 130px;
      line-height: 43px;
      font-family: "Microsoft Yahei";
      font-size: 24px;
      cursor: default;
      a{
        color: #282828;
        text-decoration: none;
      }
      &:hover{
        background: #F5F5F5;
        font-weight: bold;
        .delete{
          background-position: 0 -50px;
        }
        .edit{
          background-position: -20px -50px;
        }
        .new{
          background-position: -40px -50px;
        }
      }
    }
    .oper{
      float: right;
      line-height: 1;
      color: #888;
    }
    .time{
      background: #fff;
      float: left;
      margin-top: 10px;
      &.first{
        margin-top: 0;
        padding-top: 10px;        
      }
      &.last span{
        &:after{
          content: " ";
          position: absolute;
          top: 25px; left: 0;
          width: 100%;
          height: 70px;
          background: #fff;
        }
      }
      span{
        float: left;
        position: relative;
        padding-left: 30px;
        padding-right: 10px;
        line-height: 25px;
        color: #fff;
        background: #DC4329;
        &:before{
          content: " ";
          position: absolute;
          top: 4px;left: 7px;
          width: 14px; height: 14px;
          background: url(../images/icons.png) -60px -30px no-repeat;
        }
      }
    }
    .oper-list{
      float: right;
      margin-top: 13px;
      margin-right: 13px;
      .edit, .delete, .new{
        float: left;
        margin-left: 20px;
        width: 14px; height: 14px;
        background: url(../images/icons.png) 0 0 no-repeat;
      }
      .delete{
        background-position: 0 -30px;
      }
      .edit{
        background-position: -20px -30px;
      }
      .new{
        background-position: -40px -30px;
      }
    }

  }
}


// 创建专题
.pg-subject-new{

  // Subject progressbar
  .progressbar{
    position: relative;
    height: 90px;
    margin-bottom: 50px;
    color: #E3E1E2;
    background: url(../images/progressbar.png) 0 -70px no-repeat;
    .bar{
      position: absolute;
      height: 55px;
      width: 300px;
      background: url(../images/progressbar.png) 0 0 no-repeat;
      .transition(~"width 0.3s ease-out");
    }
    &.step_1{
      .bar{
        width: 300px;
      }
      span:nth-child(-n+1){
        color: #DC4329;
      }
    }
    &.step_2{
      .bar{
        width: 600px;
      }
      span:nth-child(-n+2){
        color: #DC4329;
      }
    }
    &.step_3{
      .bar{
        width: 900px;
      }
      span:nth-child(-n+3){
        color: #DC4329;
      }
    }
    &.step_4{
      .bar{
        width: 956px;
      }
      span:nth-child(-n+4){
        color: #DC4329;
      }
    } 
    .bar-text{
      padding-top: 62px;
      font-size: 15px;
      font-family: "Microsoft Yahei";
    }
  }

  // Subject title
  .subject-title{
    line-height: 70px;
    font-size: 17px;
    font-family: "Microsoft Yahei";
  }

  // Subject content
  .subject-content{
    color: #282828;
    // Select template
    .template-list .template-item:hover{
      cursor: pointer;
      img{
        opacity: 0.9;
      }
      .name{
        text-decoration: underline;
      }
    }
    .back{
      text-decoration: underline;
      margin-left: 20px;
      color: #282828;
      font-size: 12px;
    }
    .subject-result{
      width: 200px;
      margin: 0 auto;
      padding-bottom: 60px;
      text-align: center;
      font-family: "Microsoft Yahei";
      .icon{
        display: inline-block;
        width: 98px;
        height: 98px;
        background: url(../images/subject-result.png) 0 0 no-repeat;
      }
      p{
        margin: 0;
        color: #282828;
        font-size: 30px;
      }
      small{
        color: #acacac;
        font-size: 12px;
      }
      a{
        display: block;
        margin-top: 25px;
        font-size: 12px;
        font-family: "宋体";
        color: #282828;
        text-decoration: underline;
      }
    }
  }

  .box-footer{
    position: fixed;
    bottom: 0; left: 0;
    z-index: 2;
    width: 100%;
    padding: 20px 0;
    color: #fff;
    line-height: 32px;
    text-align: right;
    background: rgba(0,0,0,.8);
    .btn{
      margin-left: 20px;
    }
    a{
      color: #fff;
    }
  }
  .template-name{
    float: left;
    color: #fff;
    input{
      margin: 0;
      width: 319px; height: 33px;
      padding: 0 10px;
      border: 0;
      vertical-align: top;
      font-family: Arial;
      font-size: 12px;
      background: rgba(144,144,144,1);
    }
  }

  .upload-subject{
    width: 200px;
    background: gray;
    .bar{
      width: 0; height: 15px;
      background: blue;
      .transition(~"width .2s ease-out");
    }
  }

  .seo{
    padding: 30px 0 60px;
    background: #F6F6F6;
    .title{
      margin-bottom: 60px;
      font-size: 12px;
      color: #282828;
      font-weight: bold;
    }
    .engine{
      display: inline-block;
      height: 94px;
      padding-top: 80px;
      text-align: center;
      font-size: 12px;
      background-image: url(../images/subject-result.png);
    }
    .baidu{
      width: 180px;
      margin-left: 74px;
      background-position: -100px 0;
    }
    .qihu{
      width: 200px;
      margin-left: 130px;
      background-position: -300px 0;
    }
    .google{
      width: 200px;
      margin-left: 150px;
      background-position: -500px 0;
    }
  }

}



